<template>
  <div class="button-ctn">
    <van-button type="primary">主要按钮</van-button>
    <van-button type="info">信息按钮</van-button>
    <van-button type="default">默认按钮</van-button>
    <van-button type="warning">警告按钮</van-button>
    <van-button type="danger">危险按钮</van-button>
    <br>
    <van-button plain type="primary">朴素按钮</van-button>
    <van-button plain type="info">朴素按钮</van-button>
    <br>
    <van-button plain hairline type="primary">细边框按钮</van-button>
    <van-button plain hairline type="info">细边框按钮</van-button>
    <br>
    <van-button disabled type="primary">禁用状态</van-button>
    <van-button disabled type="info">禁用状态</van-button>
    <br>
    <van-button loading type="primary" />
    <van-button loading type="primary" loading-type="spinner" />
    <van-button loading type="info" loading-text="加载中..." />
    <br>
    <van-button square type="primary">方形按钮</van-button>
    <van-button round type="info">圆形按钮</van-button>
    <br>
    <van-button icon="plus" type="primary" />
    <van-button icon="plus" type="primary">按钮</van-button>
    <van-button icon="https://img01.yzcdn.cn/vant/user-active.png" type="info">按钮</van-button>
    <br>
    <router-link to="/">App</router-link>
  </div>
</template>

<script>
export default {
  name: "ButtonView"
}
</script>

<style scoped>

</style>